package com.tzbank.consumer;

import java.util.Map;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value="tzbank-voice")
public interface VoiceServiceScheduler {

    @PostMapping("/intovoice")
    Map<String,Object> intovoice(@RequestBody Map<String,Object> map);
}
